/** 获取所有币种信息 */ // import { isDevChain } from '@/config';
// const host = isDevChain ? '/contract' : 'http://192.168.77.146:8383/';
import { request2 } from "../axios";
// export function getCoinListAll() {
//   return fetch(`${host}/contract/listAll/`).then(res => res.json());
// }
var prefix = "/contract";
export function getCoinListAll() {
    var chainType = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
    return request2({
        url: "".concat(prefix, "/contract/listAll/").concat(chainType || ""),
        method: "post"
    });
}
export function getCoinListByChainType(chainType) {
    return request2({
        url: "".concat(prefix, "/contract/listAll/").concat(chainType),
        method: "post"
    });
}

 //# sourceMappingURL=contract.js.map